package com.mzj.saas.sdk.withdraw.vo;

/**
 * 微信付款到零钱请求参数
 * @author hp
 *
 */
public class WxWithdraw {
	
	
	public WxWithdraw() {}
	
	public WxWithdraw(String mchAppid,String mchApiKey,String mchId,String partnerTradeNo,String openid,String reUserName,Integer amount,String desc,
			byte[] mchCertificate,String transfersUrl) {
		this.mchAppid = mchAppid;
		this.mchApiKey = mchApiKey;
		this.mchId = mchId;
		this.partnerTradeNo = partnerTradeNo;
		this.openid = openid;
		this.reUserName = reUserName;
		this.amount = amount;
		this.desc = desc;
		this.mchCertificate = mchCertificate;
		this.transfersUrl = transfersUrl;
	}
	
	/**
	 * 申请商户号的appid或商户号绑定的appid
	 */
	private String mchAppid;
	
	/**
	 * API密钥
	 */
	private String mchApiKey;
	/**
	 * 微信支付分配的商户号
	 */
	private String mchId;
	/**
	 * 商户订单号，需保持唯一性 (只能是字母或者数字，不能包含有其它字符)
	 */
	private String partnerTradeNo;// 商户订单号
	/**
	 * 商户appid下，某用户的openid
	 */
	private String openid;// 用户openid
	/**
	 * 收款用户真实姓名。
	 */
	private String reUserName;// 收款用户姓名
	/**
	 * 企业付款金额，单位为分
	 */
	private Integer amount;// 金额
	/**
	 * 企业付款备注
	 */
	private String desc;// 企业付款备注
	/**
	 * 证书
	 */
	private byte[] mchCertificate;
	/**
	 * 请求地址
	 */
	private String transfersUrl;
	
	public String getMchAppid() {
		return mchAppid;
	}
	public void setMchAppid(String mchAppid) {
		this.mchAppid = mchAppid;
	}
	public String getMchApiKey() {
		return mchApiKey;
	}
	public void setMchApiKey(String mchApiKey) {
		this.mchApiKey = mchApiKey;
	}
	public String getMchId() {
		return mchId;
	}
	public void setMchId(String mchId) {
		this.mchId = mchId;
	}
	public String getPartnerTradeNo() {
		return partnerTradeNo;
	}
	public void setPartnerTradeNo(String partnerTradeNo) {
		this.partnerTradeNo = partnerTradeNo;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getReUserName() {
		return reUserName;
	}
	public void setReUserName(String reUserName) {
		this.reUserName = reUserName;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public byte[] getMchCertificate() {
		return mchCertificate;
	}
	public void setMchCertificate(byte[] mchCertificate) {
		this.mchCertificate = mchCertificate;
	}
	public String getTransfersUrl() {
		return transfersUrl;
	}
	public void setTransfersUrl(String transfersUrl) {
		this.transfersUrl = transfersUrl;
	}
}
